Skip to main content

printPaperOrientation

Type​

property

Summary​

Reports the rotation of a printed page.

Syntax​

set the printPaperOrientation to {"portrait" | "landscape" | "reverse portrait" | "reverse landscape"}
get the printPaperOrientation

Description​

Use the printPaperOrientation to rotate the printed output to the desired orientation on the page.

Attempting to set the printPaperOrientation to an invalid value will result in a script execution error.

To have an effect, this property must be set before calling open printing.

Cross-platform note

The reverse options are not supported on Windows. When used Windows will revert these options to their non-reverse counterparts.

Examples​

set the printPaperOrientation to "portrait"

Value​

NameTypeDescription

value

enum

The printPaperOrientation is one of the following values. The default value is determined by the default settings of the current printer.

command: open printing, answer printer

property: printRowsFirst

Compatibility and Support​

Introduced

LiveCode 2.9

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?